The experiments show that the memory coloring based framework could efficiently exploit reuse and parallelism, without introducing spills. ( 3) Proposes an optimal directed path searching based stream register file allocation algorithm. 实验表明基于存储器着色的SRF分配框架能够在不引入溢出的前提下,有效地开发复用和并行。(3)提出了基于最佳有向路径寻找的流寄存器文件分配算法。